package com.zretc.entity;

/**
 * 地址簿类
 *
 * @author: bLUeSuMMerDreamer
 * @createTime: 2020-07-21 10:49
 */
public class AddressInfo {
    //地址信息Id
    private String addressInfoId;
    //地址类
    private Address address;
    //电话
    private String phone;
    //联系人姓名
    private String personName;
    //所属账户
    private User user;

    @Override
    public String toString() {
        return "AddressInfo{" +
                "addressInfoId='" + addressInfoId + '\'' +
                ", address=" + address +
                ", phone='" + phone + '\'' +
                ", personName='" + personName + '\'' +
                ", user=" + user +
                '}';
    }

    public String getAddressInfoId() {
        return addressInfoId;
    }

    public void setAddressInfoId(String addressInfoId) {
        this.addressInfoId = addressInfoId;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public AddressInfo(String addressInfoId, Address address, String phone, String personName, User user) {
        this.addressInfoId = addressInfoId;
        this.address = address;
        this.phone = phone;
        this.personName = personName;
        this.user = user;
    }

    public AddressInfo() {
    }
}
